package com.second.client.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * (ClientIntegration)表实体类
 * @author lvyongqi
 * @since 2021-07-24 09:04:24
 */
@Data
@TableName(value = "client_integration")
@ApiModel(value = "积分表实体类")
public class ClientIntegration {

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty("主键Id")
    private Integer id;

    /**
     * 会员ID
     */
    @ApiModelProperty("会员ID")
    private Integer clientId;

    /**
     * 创建记录时间
     */
    @ApiModelProperty("创建记录时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    /**
     * 积分变化类型0减1加
     */
    @ApiModelProperty("积分变化类型,0减1加")
    private Integer changeType;

    /**
     * 积分改变数量
     */
    @ApiModelProperty("积分改变数量")
    private Integer changeCount;

    /**
     * 历史积分
     */
    @ApiModelProperty("历史积分")
    private Integer historyIntegration;

    /**
     * 现有积分
     */
    @ApiModelProperty("现有积分")
    private Integer existingIntegration;

    /**
     * 积分类型
     */
    @ApiModelProperty("积分类型")
    private String integrationType;

    /**
     * 客户实体类
     */
    @TableField(exist = false)
    @ApiModelProperty("客户实体类")
    private ClientUser clientUser;

}
